import { defineConfig } from 'rollup'
import terser from '@rollup/plugin-terser'

export default defineConfig({
  input: 'xapptool.js',
  output: [
    { file: 'dist/xapptool.esm.js', format: 'esm' },
    { file: 'dist/xapptool.cjs.js', format: 'cjs' }
  ],
  plugins: [terser()],
})